package org.example.kidscode.service;

import org.example.kidscode.entity.ClassCard;
import java.time.LocalDate;
import java.util.List;
import java.util.Optional;

public interface ClassCardService {
    List<ClassCard> findAll();
    Optional<ClassCard> findById(String cardId);
    ClassCard save(ClassCard classCard);
    void deleteById(String cardId);
    List<ClassCard> findByStudentId(String studentId);
    List<ClassCard> findByExpireDateBefore(LocalDate date);
}